import 'package:flutter/material.dart';
import 'package:flutter_chubao/tools/app_colors.dart';

class AppTextStyle {
  static TextStyle getBoldTextStyle({
    double fontSize = 16,
    String? fontFamily,
    Color color = Colors.black,
  }) {
    return TextStyle(
        color: color,
        fontWeight: FontWeight.bold,
        fontSize: fontSize,
        fontFamily: fontFamily);
  }

  static TextStyle getNormalTextStyle({
    double fontSize = 16,
    String? fontFamily,
    Color color = const Color.fromARGB(255, 23, 7, 7),
  }) {
    return TextStyle(
        color: color,
        fontWeight: FontWeight.normal,
        fontSize: fontSize,
        fontFamily: fontFamily);
  }
}
